Optimal. Leaf size=36 \[ d^3 \left (b^2-4 a c\right ) \log \left (a+b x+c x^2\right )+d^3 (b+2 c x)^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {692, 628} \begin {gather*} d^3 \left (b^2-4 a c\right ) \log \left (a+b x+c x^2\right )+d^3 (b+2 c x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 692
Rubi steps
\begin {align*} \int \frac {(b d+2 c d x)^3}{a+b x+c x^2} \, dx &=d^3 (b+2 c x)^2+\left (\left (b^2-4 a c\right ) d^2\right ) \int \frac {b d+2 c d x}{a+b x+c x^2} \, dx\\ &=d^3 (b+2 c x)^2+\left (b^2-4 a c\right ) d^3 \log \left (a+b x+c x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 0.92 \begin {gather*} d^3 \left (\left (b^2-4 a c\right ) \log (a+x (b+c x))+4 c x (b+c x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(b d+2 c d x)^3}{a+b x+c x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 43, normalized size = 1.19 \begin {gather*} 4 \, c^{2} d^{3} x^{2} + 4 \, b c d^{3} x + {\left (b^{2} - 4 \, a c\right )} d^{3} \log \left (c x^{2} + b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 50, normalized size = 1.39 \begin {gather*} 4 \, {\left (c d x^{2} + b d x\right )} c d^{2} + {\left (b^{2} d^{3} - 4 \, a c d^{3}\right )} \log \left ({\left | c d x^{2} + b d x + a d \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 57, normalized size = 1.58 \begin {gather*} 4 c^{2} d^{3} x^{2}-4 a c \,d^{3} \ln \left (c \,x^{2}+b x +a \right )+b^{2} d^{3} \ln \left (c \,x^{2}+b x +a \right )+4 b c \,d^{3} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.40, size = 43, normalized size = 1.19 \begin {gather*} 4 \, c^{2} d^{3} x^{2} + 4 \, b c d^{3} x + {\left (b^{2} - 4 \, a c\right )} d^{3} \log \left (c x^{2} + b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.44, size = 47, normalized size = 1.31 \begin {gather*} \ln \left (c\,x^2+b\,x+a\right )\,\left (b^2\,d^3-4\,a\,c\,d^3\right )+4\,c^2\,d^3\,x^2+4\,b\,c\,d^3\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.41, size = 44, normalized size = 1.22 \begin {gather*} 4 b c d^{3} x + 4 c^{2} d^{3} x^{2} - d^{3} \left (4 a c - b^{2}\right ) \log {\left (a + b x + c x^{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________